using System;

namespace PetShop.Web.Entities
{
    [Serializable]
    public class AccountInfo
    {
        private readonly AddressInfo _address;
        private readonly string _category;
        private readonly string _email;
        private readonly string _language;
        private readonly string _password;
        private readonly bool _showBanners;
        private readonly bool _showFavorites;
        private readonly string _userId;


        public AccountInfo()
        {
        }


        public AccountInfo(string userId, string password, string email, AddressInfo address, string language,
                           string category, bool showFavorites, bool showBanners)
        {
            _userId = userId;
            _password = password;
            _email = email;
            _address = address;
            _language = language;
            _category = category;
            _showFavorites = showFavorites;
            _showBanners = showBanners;
        }


        public string UserId
        {
            get { return _userId; }
        }

        public string Password
        {
            get { return _password; }
        }

        public string Email
        {
            get { return _email; }
        }

        public AddressInfo Address
        {
            get { return _address; }
        }

        public string Language
        {
            get { return _language; }
        }

        public string Category
        {
            get { return _category; }
        }

        public bool IsShowFavorites
        {
            get { return _showFavorites; }
        }

        public bool IsShowBanners
        {
            get { return _showBanners; }
        }
    }
}